<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>__PREFIX__客服测试页面</title>
  <meta name="keywords" content="__PREFIX__客服">
  <meta name="description" content="__PREFIX__客服">
  <link rel="shortcut icon" href="favicon.ico">
  <link href="https://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
  <link href="https://cdn.staticfile.org/font-awesome/4.4.0/css/font-awesome.css?v=4.4.0" rel="stylesheet">
  <link href="https://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
  <link href="./static/admin/css/style.min.css?v=4.1.0" rel="stylesheet">
  <link href="./static/demo/css/common.css" rel="stylesheet"/>
</head>

<body class="gray-bg">
  <div class="row">
    <div class="wrapper wrapper-content animated fadeInRight">
      <div class="row">
        <div class="col-sm-12">
          <div class="wrapper wrapper-content animated fadeInRight">

            <div class="ibox-content m-b-sm border-bottom">
              <div class="p-xs">
                <div class="pull-left m-r-md">
                  <i class="fa fa-globe text-navy mid-icon"></i>
                </div>
                <h2>欢迎来到__PREFIX__商城</h2>
                <span>你可以自由选择你感兴趣的商品。</span>
              </div>
            </div>

            <div class="ibox-content forum-container">

              <div class="forum-title">
                <div class="pull-right forum-desc">
                  <samll>总商品数： 320,800</samll>
                </div>
              </div>
              <div class="row">

                <div class="col-sm-4">
                  <div class="contact-box">
                    <a href="javascript:;">
                      <div class="col-sm-4">
                        <div class="text-center">
                          <img alt="image" class="img-circle m-t-xs img-responsive" style="border-radius:0" src="//img13.360buyimg.com/n1/s450x450_jfs/t10675/253/1344769770/66891/92d54ca4/59df2e7fN86c99a27.jpg">
                        </div>
                      </div>
                    </a>
                    <div class="col-sm-8">
                      <a href="javascript:;">
                        <h2><strong>Apple iPhone X (A1865) 64GB 深空灰色 移动联通电信4G手机</strong></h2>
                        <h3 style="color: #e4393c">领券12期免息，每月仅需699！勾选[保障服务][原厂保2年]，原厂延保更安心。点此领券
                          选下方移动联通电信优惠购，下单立减550元！</h3>
                        <h2>售价 <span style="color: red">￥8388.00</span></h2>
                      </a>
                    </div>
                    <div class="clearfix"></div>
                  </div>
                </div>

                <div class="col-sm-4">
                  <div class="contact-box">
                    <a href="javascript:;">
                      <div class="col-sm-4">
                        <div class="text-center">
                          <img alt="image" class="img-circle m-t-xs img-responsive" style="border-radius:0" src="//img13.360buyimg.com/n1/s450x450_jfs/t10675/253/1344769770/66891/92d54ca4/59df2e7fN86c99a27.jpg">
                        </div>
                      </div>
                    </a>
                    <div class="col-sm-8">
                      <a href="javascript:;">
                        <h2><strong>Apple iPhone X (A1865) 64GB 深空灰色 移动联通电信4G手机</strong></h2>
                        <h3 style="color: #e4393c">领券12期免息，每月仅需699！勾选[保障服务][原厂保2年]，原厂延保更安心。点此领券
                          选下方移动联通电信优惠购，下单立减550元！</h3>
                        <h2>售价 <span style="color: red">￥8388.00</span></h2>
                      </a>
                    </div>
                    <div class="clearfix"></div>
                  </div>
                </div>

                <div class="col-sm-4">
                  <div class="contact-box">
                    <a href="javascript:;">
                      <div class="col-sm-4">
                        <div class="text-center">
                          <img alt="image" class="img-circle m-t-xs img-responsive" style="border-radius:0" src="//img13.360buyimg.com/n1/s450x450_jfs/t10675/253/1344769770/66891/92d54ca4/59df2e7fN86c99a27.jpg">
                        </div>
                      </div>
                    </a>
                    <div class="col-sm-8">
                      <a href="javascript:;">
                        <h2><strong>Apple iPhone X (A1865) 64GB 深空灰色 移动联通电信4G手机</strong></h2>
                        <h3 style="color: #e4393c">领券12期免息，每月仅需699！勾选[保障服务][原厂保2年]，原厂延保更安心。点此领券
                          选下方移动联通电信优惠购，下单立减550元！</h3>
                        <h2>售价 <span style="color: red">￥8388.00</span></h2>
                      </a>
                    </div>
                    <div class="clearfix"></div>
                  </div>
                </div>

                <div class="col-sm-4">
                  <div class="contact-box">
                    <a href="javascript:;">
                      <div class="col-sm-4">
                        <div class="text-center">
                          <img alt="image" class="img-circle m-t-xs img-responsive" style="border-radius:0" src="//img13.360buyimg.com/n1/s450x450_jfs/t10675/253/1344769770/66891/92d54ca4/59df2e7fN86c99a27.jpg">
                        </div>
                      </div>
                    </a>
                    <div class="col-sm-8">
                      <a href="javascript:;">
                        <h2><strong>Apple iPhone X (A1865) 64GB 深空灰色 移动联通电信4G手机</strong></h2>
                        <h3 style="color: #e4393c">领券12期免息，每月仅需699！勾选[保障服务][原厂保2年]，原厂延保更安心。点此领券
                          选下方移动联通电信优惠购，下单立减550元！</h3>
                        <h2>售价 <span style="color: red">￥8388.00</span></h2>
                      </a>
                    </div>
                    <div class="clearfix"></div>
                  </div>
                </div>

                <div class="col-sm-4">
                  <div class="contact-box">
                    <a href="javascript:;">
                      <div class="col-sm-4">
                        <div class="text-center">
                          <img alt="image" class="img-circle m-t-xs img-responsive" style="border-radius:0" src="//img13.360buyimg.com/n1/s450x450_jfs/t10675/253/1344769770/66891/92d54ca4/59df2e7fN86c99a27.jpg">
                        </div>
                      </div>
                    </a>
                    <div class="col-sm-8">
                      <a href="javascript:;">
                        <h2><strong>Apple iPhone X (A1865) 64GB 深空灰色 移动联通电信4G手机</strong></h2>
                        <h3 style="color: #e4393c">领券12期免息，每月仅需699！勾选[保障服务][原厂保2年]，原厂延保更安心。点此领券
                          选下方移动联通电信优惠购，下单立减550元！</h3>
                        <h2>售价 <span style="color: red">￥8388.00</span></h2>
                      </a>
                    </div>
                    <div class="clearfix"></div>
                  </div>
                </div>

                <div class="col-sm-4">
                  <div class="contact-box">
                    <a href="javascript:;">
                      <div class="col-sm-4">
                        <div class="text-center">
                          <img alt="image" class="img-circle m-t-xs img-responsive" style="border-radius:0" src="//img13.360buyimg.com/n1/s450x450_jfs/t10675/253/1344769770/66891/92d54ca4/59df2e7fN86c99a27.jpg">
                        </div>
                      </div>
                    </a>
                    <div class="col-sm-8">
                      <a href="javascript:;">
                        <h2><strong>Apple iPhone X (A1865) 64GB 深空灰色 移动联通电信4G手机</strong></h2>
                        <h3 style="color: #e4393c">领券12期免息，每月仅需699！勾选[保障服务][原厂保2年]，原厂延保更安心。点此领券
                          选下方移动联通电信优惠购，下单立减550元！</h3>
                        <h2>售价 <span style="color: red">￥8388.00</span></h2>
                      </a>
                    </div>
                    <div class="clearfix"></div>
                  </div>
                </div>

                <div class="col-sm-4">
                  <div class="contact-box">
                    <a href="javascript:;">
                      <div class="col-sm-4">
                        <div class="text-center">
                          <img alt="image" class="img-circle m-t-xs img-responsive" style="border-radius:0" src="//img13.360buyimg.com/n1/s450x450_jfs/t10675/253/1344769770/66891/92d54ca4/59df2e7fN86c99a27.jpg">
                        </div>
                      </div>
                    </a>
                    <div class="col-sm-8">
                      <a href="javascript:;">
                        <h2><strong>Apple iPhone X (A1865) 64GB 深空灰色 移动联通电信4G手机</strong></h2>
                        <h3 style="color: #e4393c">领券12期免息，每月仅需699！勾选[保障服务][原厂保2年]，原厂延保更安心。点此领券
                          选下方移动联通电信优惠购，下单立减550元！</h3>
                        <h2>售价 <span style="color: red">￥8388.00</span></h2>
                      </a>
                    </div>
                    <div class="clearfix"></div>
                  </div>
                </div>

                <div class="col-sm-4">
                  <div class="contact-box">
                    <a href="javascript:;">
                      <div class="col-sm-4">
                        <div class="text-center">
                          <img alt="image" class="img-circle m-t-xs img-responsive" style="border-radius:0" src="//img13.360buyimg.com/n1/s450x450_jfs/t10675/253/1344769770/66891/92d54ca4/59df2e7fN86c99a27.jpg">
                        </div>
                      </div>
                    </a>
                    <div class="col-sm-8">
                      <a href="javascript:;">
                        <h2><strong>Apple iPhone X (A1865) 64GB 深空灰色 移动联通电信4G手机</strong></h2>
                        <h3 style="color: #e4393c">领券12期免息，每月仅需699！勾选[保障服务][原厂保2年]，原厂延保更安心。点此领券
                          选下方移动联通电信优惠购，下单立减550元！</h3>
                        <h2>售价 <span style="color: red">￥8388.00</span></h2>
                      </a>
                    </div>
                    <div class="clearfix"></div>
                  </div>
                </div>

                <div class="col-sm-4">
                  <div class="contact-box">
                    <a href="javascript:;">
                      <div class="col-sm-4">
                        <div class="text-center">
                          <img alt="image" class="img-circle m-t-xs img-responsive" style="border-radius:0" src="//img13.360buyimg.com/n1/s450x450_jfs/t10675/253/1344769770/66891/92d54ca4/59df2e7fN86c99a27.jpg">
                        </div>
                      </div>
                    </a>
                    <div class="col-sm-8">
                      <a href="javascript:;">
                        <h2><strong>Apple iPhone X (A1865) 64GB 深空灰色 移动联通电信4G手机</strong></h2>
                        <h3 style="color: #e4393c">领券12期免息，每月仅需699！勾选[保障服务][原厂保2年]，原厂延保更安心。点此领券
                          选下方移动联通电信优惠购，下单立减550元！</h3>
                        <h2>售价 <span style="color: red">￥8388.00</span></h2>
                      </a>
                    </div>
                    <div class="clearfix"></div>
                  </div>
                </div>

              </div>

            </div>
          </div>
        </div>
      </div>
    </div>
  </div>

  <!-- 右侧悬浮 -->
  <div id="service">
    <ul>
      <li>
        <a href="javascript:;">
          <div class="hides" style="width:161px;display:none;">
            <div class="hides p1">
              <img src="/static/demo/images/ll04.png">
            </div>
            <div class="hides p2" id="buy-1" data-group="1">
              <span style="color:#FFF;font-size:13px">售前客服</span>
            </div>
          </div>
          <img src="/static/demo/images/l04.png" width="47" height="49" class="shows"/>
        </a>
      </li>

      <li>
        <a href="javascript:;">
          <div class="hides" style="width:161px;display:none;">
            <div class="hides p1">
              <img src="/static/demo/images/ll04.png">
            </div>
            <div class="hides p2" id="buy-2" data-group="2">
              <span style="color:#FFF;font-size:13px">售后客服</span>
            </div>
          </div>
          <img src="/static/demo/images/l04.png" width="47" height="49" class="shows"/>
        </a>
      </li>

      <li id="btn">
        <a id="top_btn">
          <div class="hides" style="width:161px;display:none">
            <img src="/static/demo/images/ll06.png" width="161" height="49"/>
          </div>
          <img src="/static/demo/images/l06.png" width="47" height="49" class="shows"/>
        </a>
      </li>
    </ul>
    <div id="test">
      <input id="file" type="file" accept="image/*" onchange="upload(this)">
    </div>
  </div>
  <!-- 右侧悬浮 -->

  <script src="https://cdn.staticfile.org/jquery/2.1.4/jquery.min.js"></script>
  <script src="https://cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
  <script src="./static/admin/js/content.min.js?v=1.0.0"></script>
  <script src="./static/customer/js/layer/layer.js"></script>
  <script src="./static/customer/js/whisper-tool.js"></script>
  <script src="http://gosspublic.alicdn.com/aliyun-oss-sdk-x.x.x.min.js"></script>
  <script type="text/javascript">
    $(function () {
      $("#service a").hover(function () {
        if ($(this).prop("className") == "weixin_area") {
          $(this).children("img.hides").show();
        } else {
          $(this).children("div.hides").show();
          $(this).children("img.shows").hide();
          $(this).children("div.hides").animate({marginRight: '0px'}, '0');
        }
      }, function () {
        if ($(this).prop("className") == "weixin_area") {
          $(this).children("img.hides").hide();
        } else {
          $(this).children("div.hides").animate({marginRight: '-163px'}, 0, function () {
            $(this).hide();
            $(this).next("img.shows").show();
          });
        }
      });

      var ws = new whisper();
      $("#buy-1,#buy-2").click(function () {
        var group = $(this).attr('data-group');
        ws.init({
          id: 1,
          url: '/',
          name: '会员1',
          avatar: 'http://wx2.sinaimg.cn/mw690/5db11ff4gy1flxmew7edlj203d03wt8n.jpg',
          group: group
        });
      });

      $("#top_btn").click(function () {
        $("html,body").animate({scrollTop: 0}, 600);
      });
    });


    function upload(obj) {
      //获取file对象
      var file = obj.files[0];
      //创建FileReader对象
      var fr = new FileReader();

      fr.onload = function () {

      }
      fr.readAsArrayBuffer(file);
    }


  </script>
</body>
</html>